﻿using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.ComponentModel.Composition;
using Microsoft.Practices.Prism.Regions;

namespace EIA.SLClient.ProjectManage.Basic
{
    [Export]
    [ViewSortHint("99")]
	public partial class NotQuickQueryView : UserControl, SimpleMvvmToolkit.INotifyable
	{
		public NotQuickQueryView()
		{
			// 为初始化变量所必需
			InitializeComponent();
            SimpleMvvmToolkit.MessageBus.Default.Register(EIA.SLClient.ProjectManage.Infrastructure.MessageTokens.PROJECT_QUERY, this);
		}

        public void Notify(string token, object sender, SimpleMvvmToolkit.NotificationEventArgs e)
        {
            switch (token)
            {
                case EIA.SLClient.ProjectManage.Infrastructure.MessageTokens.PROJECT_QUERY:
                    this.rb_notquickquery.IsChecked = true;
                    break;
            }
        }
    }
}